package com.dgut.uhrs.service;

import com.dgut.uhrs.bean.Area;
import com.dgut.uhrs.mapper.AreaMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreaService {
    @Autowired
    private AreaMapper areaMapper;

    public List<Area> findAllRiskArea(){
        return areaMapper.findAllRiskArea();
    }
}
